<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>巡检项目任务管理</title>
<link href="css/global.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="js/jquery1.4.4.js"></script>
<script type="text/javascript" src="js/global.js"></script>
<%
String choose = request.getParameter("choose");
if (choose==null || choose.trim().isEmpty())
	choose = "taskAssign";
//巡检地点需要百度地图
if (choose.equals("checkPoint")) {
%>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.2"></script>
<%
}
%>
<script language="javascript" type="text/javascript" src="js/My97DatePicker/WdatePicker.js"></script>
</head>
<body>
	<jsp:include page="WEB-INF/template/header.jsp">
		<jsp:param value="current" name="taskManage"/>
	</jsp:include>
	<div id="container" class="section">
		<div class="main">
			<%
			if (choose.equals("taskAssign")) {
			%>
			<jsp:include page="WEB-INF/template/taskManage/addTask/checkTaskAssign.jsp"/>
			<%
			} else if (choose.equals("checkTaskDefine")) {
			%>
			<jsp:include page="WEB-INF/template/taskManage/addTask/checkTaskDefine.jsp"/>
			<%
			} else if (choose.equals("checkPoint")) {
			%>
			<jsp:include page="WEB-INF/template/taskManage/addTask/checkPoint.jsp"/>
			<%
			} else if (choose.equals("workRegion")) {
			%>
			<jsp:include page="WEB-INF/template/taskManage/addTask/workRegion.jsp"/>
			<%
			} else if (choose.equals("submitSuccess")) {
			%>
			<jsp:include page="WEB-INF/template/taskManage/addTask/submitSuccess.jsp"/>
			<%
			} else if (choose.equals("submitFailure")) {
			%>
			<jsp:include page="WEB-INF/template/taskManage/addTask/submitFailure.jsp"/>
			<%
			}
			%>
		</div>
		<div class="aside"> 
			<ul class="side-nav">
				<li class="nav-item"><a id="side-nav-1" class="nav-base" href="taskManage.jsp"><b></b><em>实时任务情况</em></a></li>
				<li class="nav-item high-light"><a id="side-nav-2" class="nav-base" href=""><b></b><em>新增任务</em></a>
					<!-- 
					<ul id="task-all">
						<li><a class="task-base" href="ShowCheckTaskAssigns">新増任务</a>
						</li>
						<li><a class="task-base" href="ShowCheckTaskDefines">巡检任务类型</a>
						</li>
						<li><a class="task-base" href="ShowCheckPoints">巡检地点</a>
						</li>
						<li><a class="task-base" href="ShowWorkRegions">任务片区</a>
						</li>
					</ul> -->
				</li>
				<li class=""><a id="side-nav-3" class="nav-base" href="ListWorkRegions"><b></b><em>任务片区</em><s></s></a>
				</li>
			</ul>
		</div>
		<div class="clear"></div>
	</div>
	<jsp:include page="WEB-INF/template/footer.jsp"></jsp:include>
</body>
</html>